home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000156_collector59ca@yahoo.com_Tue Mar 30 09:56:48 2004.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!peer1.stngva01.us.to.verio.net!news.verio.net!news.glorb.com!postnews2.google.com!not-for-mail
  2. From: collector59ca@yahoo.com (Klein Bill)
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Trying to connect to a device console via COM 1 (no dialing modem)
  5. Date: 29 Mar 2004 22:40:31 -0800
  6. Organization: http://groups.google.com
  7. Lines: 34
  8. Message-ID: <9c258be2.0403292240.2e00c890@posting.google.com>
  9. NNTP-Posting-Host: 80.74.106.236
  10. Content-Type: text/plain; charset=ISO-8859-1
  11. Content-Transfer-Encoding: 8bit
  12. X-Trace: posting.google.com 1080628831 8945 127.0.0.1 (30 Mar 2004 06:40:31 GMT)
  13. X-Complaints-To: groups-abuse@google.com
  14. NNTP-Posting-Date: Tue, 30 Mar 2004 06:40:31 +0000 (UTC)
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14868
  16.  
  17. Hi all,
  18.  
  19. I'm trying to connect to the ASCII terminal of a manageable router
  20. device which is directly connected to my serial port COM 1.
  21. I'm using the following Kermit script:
  22.  
  23. set input echo on
  24. def tsprompt >
  25. set carrier-watch off
  26. set line  1
  27. open port 1
  28. set serial 8n1
  29. set speed 115200
  30. if def tsprompt {                     
  31.     for \%i 1 2 1 {                   
  32.     input 1 \m(tsprompt)           
  33.     if success break               
  34.     output \13                     
  35.     }
  36.     lineout show config          ;command to send      
  37. }
  38.  
  39. When running this script, kermit stays in command mode but I see no
  40. dialog between it and the router even though I've used "set input echo
  41. on".
  42. If I press Alt-x the terminal window is opened and my command is
  43. finally sent (but I remain in terminal mode).
  44.  
  45. How can I make Kermit show me the interaction in command mode ? 
  46.  
  47. Note: There's nothing to be dialed. I have no modem. I'm serially,
  48. directly connected.
  49.  
  50. Thanks in advance for any help.